package javaStudy;

/**
 * Created by qq65827 on 2015/2/4.
 */

/**
 * another way to copy String
 */
public class StringCopy {

    public static void main(String[] args) {

        /*char[] copyFrom = {'d', 'e', 'c', 'a', 'f', 'f', 'e',
                'i', 'n', 'a', 't', 'e', 'd'};*/

        int[] src = {1, 2, 3, 4,5, 6, 7, 8, 9, 10, 11, 12};

        int result = BinarySearch.binarySearch(src, 5);
        System.out.println(result);


    }
}
